package com.wlb365.financing.modules.trade.response;

import com.wlb365.sdk.model.BaseResponse;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 查询概要数据返回数据
 * @Author LuHang
 * @Date 2021/5/14 9:50
 * @Version 1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TradeQueryProcessDataRes extends BaseResponse {
    private List<TradeProcessDataDTO> processDataList;

    @Data
    public class TradeProcessDataDTO{
        /**
         * 步骤号.
         */
        private Integer stepNum;

        /**
         * 阶段名称
         */
        private String name;

        /**
         * 数据类型.
         */
        private String dataType;

        /**
         * 模板ID.
         */
        private String templateId;

        /**
         * 步骤元数据.
         */
        private String metadata;

        /**
         * 创建时间.
         */
        private LocalDateTime createDate;

        /**
         * 更新时间.
         */
        private LocalDateTime updateDate;

    }

}
